#ifndef APPLICATIONS_THREADUNIT_TESTSRAM_H_
#define APPLICATIONS_THREADUNIT_TESTSRAM_H_

#include <threadunit/ThreadUnit.h>
#include <fsmc/FSMC.h>

class Icore;

class TestSram: public ThreadUnit
{
public:
    TestSram(Icore * main);
    virtual ~TestSram();
    FSMC *fsmc;

private:
    static Icore *icore4;

private:
    static void TestSram_thread_entry(void *parameter);
    static void test(cJSON* json_params);
    static void printCmd(cJSON* json_params);
    static void printParam(cJSON* json_params);
    static void printReset(cJSON* json_params);
};

#endif /* APPLICATIONS_THREADUNIT_TESTSRAM_H_ */
